package com.hlb.test.service.impl;

import com.hlb.test.dao.StudentDao;
import com.hlb.test.pojo.Student;
import com.hlb.test.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2016/12/16.
 */
@Service
public class StudentServiceimpl implements StudentService {
    @Autowired
    StudentDao studentsMapper;
    public List<Student> findAll() throws Exception {
        return studentsMapper.findAll();
    }

}
